@layout("/common/_container.html",{js:["/assets/transport/tDispatch/edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="tDispatchForm" lay-filter="tDispatchForm" class="layui-form layui-form-pane" style="max-width: 800px;margin: 80px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 2px;">
			    	<legend>修改发车日期、车辆</legend>
			  	</fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label">发车日期<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="startDate" name="startDate" placeholder="请选择发车日期" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">车辆<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="carId" name="carId" lay-filter="carId" lay-verify="required" required>
                            @for(item in carlist!){
                            <option value="${item.id}">${item.privatecarCarnumber},${item.driver1},${item.privatecarState}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">装车方</label>
                    <div class="layui-input-block">
                        <select id="loadingType" name="loadingType" lay-filter="loadingType" lay-verify="" required>
                            <option value="仓库" selected="">仓库</option>
                            <option value="自装">自装</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item" id="loadingNumberdiv">
                    <label class="layui-form-label">装卸工号</label>
                    <div class="layui-input-block">
                        <input id="loadingNumbers" name="loadingNumbers" placeholder="请输入工号英文,隔开" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}